From 79e6a12b20e2a9c076309bd8a26e2943d6792e4a Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 2 Jun 2011 17:24:41 +0100 Subject: [PATCH] libxl: remove stray "atoi" in debug code. I switched from atoi to strtol but failed to actually remove it... Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/libxl/libxl_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 87715c6501..4a98f733a6 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -45,7 +45,7 @@ static void check_open_fds(const char *what) env_debug = getenv("_LIBXL_DEBUG_EXEC_FDS"); if (!env_debug) return; - debug = strtol(env_debug, (char **) NULL, 10);atoi(env_debug); + debug = strtol(env_debug, (char **) NULL, 10); if (debug <= 0) return; for (i = 4; i < 256; i++) { -- 2.30.2